package com.ruoyi.project.cms.knowledgemanagement.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class KnowledgeBenchmarking extends BaseEntity {
    /*
    *项目id
    * */
    private Integer project_id;
    /*
    * 项目名称
    * */
    private String project_name;
    /*
    *项目开始时间
    * */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone ="GMT+8" )
    //接受前台表单数据进行日期格式化
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date project_start;
    /*
    * 项目结束
    * */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone ="GMT+8" )
    //接受前台表单数据进行日期格式化
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date project_end;

    /*
    *项目简介
    * */
    private String project_info;
    /*
    * 项目附件
    * */
    private String project_file;
    /*
    * 项目类型
    * */
    private Integer project_type;
    /*
    * 是否为标杆项目
    * */
    private Integer project_status;

    /*
    * 文件名
    * */
    private String fileName;

    /*
    * 路径
    * */
    private String url;

    public KnowledgeBenchmarking() {
    }

    public KnowledgeBenchmarking(Integer project_id, String project_name, Date project_start, Date project_end, String project_info,
                                 String project_file, Integer project_type, Integer project_status, String fileName, String url) {
        this.project_id = project_id;
        this.project_name = project_name;
        this.project_start = project_start;
        this.project_end = project_end;
        this.project_info = project_info;
        this.project_file = project_file;
        this.project_type = project_type;
        this.project_status = project_status;
        this.fileName = fileName;
        this.url = url;
    }

    public Integer getProject_id() {
        return project_id;
    }

    public void setProject_id(Integer project_id) {
        this.project_id = project_id;
    }

    public String getProject_name() {
        return project_name;
    }

    public void setProject_name(String project_name) {
        this.project_name = project_name;
    }

    public Date getProject_start() {
        return project_start;
    }

    public void setProject_start(Date project_start) {
        this.project_start = project_start;
    }

    public Date getProject_end() {
        return project_end;
    }

    public void setProject_end(Date project_end) {
        this.project_end = project_end;
    }

    public String getProject_info() {
        return project_info;
    }

    public void setProject_info(String project_info) {
        this.project_info = project_info;
    }

    public String getProject_file() {
        return project_file;
    }

    public void setProject_file(String project_file) {
        this.project_file = project_file;
    }

    public Integer getProject_type() {
        return project_type;
    }

    public void setProject_type(Integer project_type) {
        this.project_type = project_type;
    }

    public Integer getProject_status() {
        return project_status;
    }

    public void setProject_status(Integer project_status) {
        this.project_status = project_status;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public String toString() {
        return "KnowledgeBenchmarking{" +
                "project_id=" + project_id +
                ", project_name='" + project_name + '\'' +
                ", project_start=" + project_start +
                ", project_end=" + project_end +
                ", project_info='" + project_info + '\'' +
                ", project_file='" + project_file + '\'' +
                ", project_type=" + project_type +
                ", project_status=" + project_status +
                ", fileName='" + fileName + '\'' +
                ", url='" + url + '\'' +
                '}';
    }
}
